package com.mc.clt.service.impl;

import com.mc.clt.domain.CltPosition;
import com.mc.clt.mapper.CltPositionMapper;
import com.mc.clt.service.ICltPositionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class CltPositionServiceImpl implements ICltPositionService {
    @Autowired
    private CltPositionMapper cltPositionMapper;

    @Override
    public int selectLastLogin(String min) {
        return cltPositionMapper.selectLastLogin(min);
    }

    @Override
    public List<CltPosition> selectLastCltResult(String min) {
        return cltPositionMapper.selectLastCltResult(min);
    }

    @Override
    public List<CltPosition> selectCltResultList(CltPosition cltPosition) {
        return cltPositionMapper.selectCltResultList(cltPosition);
    }
}
